@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}
ul, li, p, h1, h2, h3, h4, h5, h6 {
  list-style: none;
  margin: 0;
  padding: 0;
}
.el-dialog__body {
  padding: 20px 20px;
  color: #606266;
  font-size: 14px;
}
.dialog-footer{
  text-align: right;
}
label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app{
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus{
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: "";
    clear: both;
    height: 0;
  }
}

.warn-content{
  background: rgba(66,185,131,.1);
  border-radius: 2px;
  padding: 11px;
  word-spacing: .05rem;
  a{
    color: #42b983;
    font-weight: 400;
  }
}

//main-container全局样式
.app-main{
  height: 100%;
}

.app-container {
  padding: 20px;
}

.head-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
  input {
    height: 30.5px;
    line-height: 30.5px;
  }
  .el-input__icon {
    line-height: 31px;
  }
}

.el-avatar {
  display: inline-block;
  text-align: center;
  background: #ccc;
  color: #fff;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 16px;
}

.logo-con{
  height: 60px;
  padding: 13px 0px 0px;
  img{
    height: 32px;
    width: 135px;
    display: block;
    //margin: 0 auto;
  }
}

#el-login-footer {
  height: 40px;
  line-height: 40px;
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  font-family: Arial;
  font-size: 12px;
  letter-spacing: 1px;
}

#el-main-footer {
  background: none repeat scroll 0 0 white;
  border-top: 1px solid #e7eaec;
  overflow: hidden;
  padding: 10px 6px 0px 6px;
  height: 33px;
  font-size: 0.7rem !important;
  color: #7a8b9a;
  letter-spacing: 0.8px;
  font-family: Arial, sans-serif !important;
  position: fixed;
  bottom: 0;
  z-index: 99;
  width: 100%;
}
// 输入选择器组合
.form-group {
  display: flex;
}
// 重置日期选择器高度
.el-range-editor--small,.el-input__inner{
  height: 30.5px !important;
  line-height: 30.5px !important;
  .el-range-editor--small, .el-range-separator {
    padding: 0 !important;
  }
}
//搜索框wrap样式
.head-container {
  background: #fbfbfb;
  border: 1px solid #e8e8e8;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}
// 表格头部
.el-table thead tr th{
  background-color: #fbfbfb;
}
// 分页样式修改
.el-pagination {
  color: rgba(0,0,0,.65) !important;
  font-weight: normal !important;
}
.el-pager li {
  min-width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  margin-right: 8px !important;
}
.el-pager li.active {
  border: 1px solid #1890ff !important;
}
.el-pager li:hover {
  border: 1px solid #1890ff !important;
}
// .el-pager li, .active + li {
//   border: 1px solid #d9d9d9 !important;
// }
.el-pagination span:not([class*=suffix]), .el-pagination button {
  height: 32px !important;
  line-height: 32px !important;
}
.el-pagination .btn-prev, .el-pagination .btn-next {
  color: rgba(0,0,0,.65) !important;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  margin-right: 8px !important;
  padding: 0 !important;
}

.overtable-btns {
  margin-bottom: 15px;
  .table-title{
    font-size: 14px;
    margin-right: 10px;
  }
}
// 修改全局折叠筐
.el-dialog__footer {
  border-top: 1px solid #eee;
}
.el-dialog__header {
  border-bottom: 1px solid #EBEEF5;
}
.el-collapse-item__header {
  background-color: #fafafa !important;
  padding-left: 10px;
  border: 1px solid #EBEEF5 !important;
  border-top: 0 !important;
  font-size: 14px !important;
}
.el-collapse-item__content {
  border: 1px solid #EBEEF5 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  padding: 10px !important;
}
.el-input-number--small {
  line-height: 29px !important;
}

.large-pop .el-dialog__body {
  max-height: 650px;
  overflow: auto;
}
.search-wrap{
  margin-bottom: 15px;
}
.account-head {
  .item{
    display: inline-block;
    margin-left: 30px;
    p{
      float: left;
      font-size: 14px;
      color: #3c3c3c;
      line-height: 40px;
      &:first-child{
        color: #808080;
      }
    }
  }
}
.block{
  width: 100%;
  background-color: #f5f5f5;
  height: 10px;
}

.data-statistics{
  padding: 20px;
  padding-top: 0;
  padding-left: 0;
  padding-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  .code-pic{
      margin-right: 15px;
      text-align: center;
      // background-color: #eee;
      // height: 120px;
    img{
      width: 110px;
      height: 110px;
    }
    p{
      font-size: 12px;
    }
  }
  .data-item {
    position: relative;
    min-width: 180px;
    border: 1px solid #eee;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: 15px;
    margin-bottom: 15px;
    .el-card__body{
      padding: 0 !important;
      p{
        line-height: 32px;
        &:first-child{
          font-size: 14px;
          color: #808080;
        }
        &:nth-child(2){
          font-size: 24px;
          margin-bottom: 6px;
        }
      }
      img{
        width: 110px;
        height: 110px;
      }
    }
  }
}

.adjust-dialog {
  .el-select,
  .el-input,
  .el-textarea {
    width: 80% !important;
  }
  .el-select{
    .el-input{
      width: 100% !important;
    }
  }
}